import requests

session = requests.Session()
headers = {
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
}
cookies = {
    '4hP44ZykCTt5O': '60M6M4.bqcIAh5GsW0N0Nzf7T_6Sk7azCPiYEY5XXb8LqoX9AlezrCHP6.nyCSE.Mb7WCgnqVfWScBtprOZVEWWA',
    '4hP44ZykCTt5P': '07UWby1Wn9dNT2JvHnjIxJ62W8n5EfeTjm8wV9gQkIKrEo3yH2cyRqqpAtY3X5FxmkEWWI_Yz5wHi516mD5sO4oLwNgSd.QtER2sH2UQ62aom1Xedem7xeegExC1YOpU_JoB7mGen0qiQOeRohHaU_4wIbIxgqwLzjQaIIdtj0YpSGFYKNut05hiZur2TG0Lv_MrvNAXaZ8K9ntpbPsNB9FZSZ36dAXlkcoKVLfznChveaPmfUam1kK1yU3_HnVzMGLPLIfWZ9D3gCGNVMiLrkzc8UnVuczJfRBjwbHNZKHL8AnRxHXkCpnX2naUow6SR5L0j71B71nXrlwzi9edQBljBLqNkSS6kPgVBZxajFqlSWatJ17FWcUbdhSWeMJEK9WYB8yhfv2yLW4deIV4DmXcF.qWLxWkf0YI8oRpyRqdRUZndieN1y01iBhcHn_c.'
}

url = "https://wsb.gansu.gov.cn/wsb/c116314/list.shtml"

response = session.get(url, headers=headers,cookies=cookies)

print(response)

for i  in range(1,133):
    url = f'https://wsb.gansu.gov.cn/common/search/ecdbf8efb0524164b80d5eeb00aa8348?_isAgg=true&_isJson=true&_pageSize=20&_template=index&_rangeTimeGte=&_channelName=&page={i}'
    res = session.get(url, headers=headers, cookies=cookies)
    print(res.cookies, res)
    break


# f_t_1763125803695__r_t_1763169588952__v_t_1763172148416__r_c_1